From Patterns to Components: The Factory Library Example
نویسنده
چکیده
Can design patterns be turned into reusable components using some advanced programming language mechanisms? We reviewed all patterns described in the book by Gamma et al. [Gamma 1995] and built a new classification of these patterns by level of “componentizability” (possibility to turn the pattern into a component). This article first describes our “componentization” approach and the pattern classification we obtained [Arnout 2004b]. Then, it focuses on one “componentizable” pattern, Abstract Factory, and explains how we devised the corresponding Factory Library in Eiffel. Finally, it describes the limitations of the approach and presents related works, before giving some future research directions.
منابع مشابه
The role of the physical elements of the study hall in the quality of study based on students' behavioral patterns (a case study of the central study hall of Koi Baradaran Dormitory of University of Tehran)
The current research has been carried out with the general aim of investigating the role of the physical elements of the study hall on the quality of users' study and the design of dormitory reading rooms based on the behavioral patterns of users (students). This research is of applied type and was done in a descriptive-analytical way. The research method is based on documentary, library and fi...
متن کاملA Design Proposal for an Object Oriented Algebraic Library
Object oriented programming and design patterns introduce a high level of abstraction that allows us to implement and work with mathematical abstractions. Classic algebraic libraries, based on imperative programming, contain subalgorithms for working with polynomials, matrices, vectors, etc. Their big inconvenience is the dependency on types. For example, a polynomial can be built over any kind...
متن کاملAssessing eco environmental effects of mining extractive industries on the sustainability of rural areas Case: villages surrounding Zanjan cement factory
Introduction Rural industrialization has been greatly discussed by researchers in recent studies of rural planning and development. It is due to its positive effects of economic, social and infrastructural factors. Moreover, researches are looking for ways to analyzed approaches to reduce harmful environmental impacts of industrial projects, as destructive life factors of geographical territ...
متن کاملConception of Programs Factory for Representing and E-Learning Disciplines of Software Engineering
The paper presents a new idea of knowledge representation for students studying software engineering by developing artifacts and software components accumulated in libraries or repositories for further reuse. The idea is based on the concept of assembly line by V. Glushkov, further elaborated by Soviet and foreign specialists (A. Ershov, V. Lipaev, J. Greenfield, G. Lenz, Y. Bai, M. Fowler). Th...
متن کاملData Mining Library Reuse Patterns in User-Selected Applications
In this paper, we show how data mining can be used to discover library reuse patterns in user-selected applications. This can be helpful in building and debugging applications that use a particular library by observing how other developers have used that library in their applications. Specifically, we consider the problem of discovering association rules that identify library components that ar...
متن کامل